package com.ybl.store.backend.dao.entity.customer;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ybl.store.common.entity.BaseDO;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 顾客优惠券实体
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("t_customer_voucher")
public class CustomerVoucherDO extends BaseDO {

    /**
     *  id
     */
    private Long id;

    /**
     *  顾客 id
     */
    private Long customerId;

    /**
     *  优惠券 id
     */
    private Long voucherId;

    /**
     *  优惠券编号
     */
    private String serial;

    /**
     * 使用状态
     */
    private Integer usageStatus;
}
